"use client";

import dynamic from "next/dynamic";
import { useEffect, useState } from "react";
import { User } from "@/api/user";

const PageContainer = dynamic(
  () => import("@ant-design/pro-layout").then(pro => pro.PageContainer),
  {
    ssr: false,
  }
);

const UserManagement: React.FC = () => {
  const [data, setData] = useState<User[]>([]);
  const getUserList = async () => {
    // setData(await User.getUserList());
  };
  useEffect(() => {
    getUserList();
  }, []);
  return <div>{JSON.stringify(data)}</div>;
};

export default UserManagement;
